package com.moli.iov.notify.enums;

/**
 *
 * Notice type enum.
 *
 * @author OAK
 * @version 3.0
 * @since 2019/10/12 11:20 AM.
 *
 */
public enum NoticeTypeEnum {

  /**
   * mobile.
   */
  MOBILE(0, "短信提醒"),

  /**
   * email.
   */
  EMAIL(1, "电子邮件提醒");

  /**
   * Notice code.
   */
  private int code;

  /**
   * Notice value.
   */
  private String text;

  NoticeTypeEnum(int code, String text) {
    this.code = code;
    this.text = text;
  }

  public int getCode() {
    return code;
  }

  public void setCode(int code) {
    this.code = code;
  }

  public String getText() {
    return text;
  }

  public void setText(String text) {
    this.text = text;
  }

}
